home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / IDLIncludes / Interrupts.idl < prev    next >
Text File  |  1996-05-01  |  1KB  |  56 lines

  1. /*
  2.      File:        Interrupts.idl
  3.  
  4.      Contains:    Public Interface to the Interrupt Manager.
  5.  
  6.      Version:    Technology:    PowerSurge 1.0.2 and beyond (including Copland)
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. */
  18. #ifndef __INTERRUPTS_IDL__
  19. #define __INTERRUPTS_IDL__
  20.  
  21. #include <somobj.idl>
  22. #include <somcls.idl>
  23.  
  24. #ifndef __TYPES_IDL__
  25. #include <Types.idl>
  26. #endif
  27.  
  28. #ifdef __SOMIDL__
  29.  
  30. #if FOR_SYSTEM7_AND_SYSTEM8_PREEMPTIVE
  31. /*  Interrupt types  */
  32. typedef OpaquePtr                InterruptSetID;
  33.  
  34. typedef long                    InterruptMemberNumber;
  35.  
  36. typedef SOMLargeStruct            InterruptSetMember;            /* Derived from a struct of 8 bytes in size */
  37.  
  38. typedef OpaquePtr                ISTProperty;                /* Substituted OpaquePtr for array of InterruptSetMember of size 3 */
  39.  
  40. typedef long                    InterruptReturnValue;
  41.  
  42. typedef boolean                    InterruptSourceState;
  43.  
  44. typedef OpaquePtr InterruptHandler;
  45. typedef OpaquePtr InterruptEnabler;
  46. typedef OpaquePtr InterruptDisabler;
  47. typedef OptionBits                InterruptSetOptions;
  48.  
  49. /*  Interrupt Services  */
  50. #endif
  51.  
  52. #endif /* __SOMIDL__ */
  53.  
  54. #endif /* __INTERRUPTS_IDL__ */
  55.  
  56.